import api from '../api.js'
export default {
  Login (params) {
    return api.fetchPost('/normal/ajax/login.do', params);
  },
  VerifyCode (code) {
    return api.fetchPost('/normal/authz/verify_seccode.do', {seccode: code});
  },
  Logout (params) {
    return api.fetchPost('/normal/ajax/logout.do', params);
  },
  UpdateUserInfo (params) {
    return api.fetchGet('/authz/user/editInfo.do', params);
  },
  getSkinConfig (params) {
    return api.fetchGet('/skin/config.do', params);
  },
  zbcloudGrey (params) {
    return api.fetchGet('/zbcloud-grey/api/execute', params);
  }
}